projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5179da
)
tegra: Set up warmboot code on Nvidia boards
author
Simon Glass
<
[email protected]
>
Mon, 2 Apr 2012 13:18:57 +0000
(13:18 +0000)
committer
Albert ARIBAUD
<
[email protected]
>
Tue, 15 May 2012 06:31:38 +0000
(08:31 +0200)
Call the function to put warmboot boot in a suitable place for resume.
Signed-off-by: Simon Glass <
[email protected]
>
Signed-off-by: Tom Warren <
[email protected]
>
board/nvidia/common/board.c
patch
|
blob
|
history
diff --git
a/board/nvidia/common/board.c
b/board/nvidia/common/board.c
index 640b9c4475585f9cc6d8d76c6c29d2fa037014e2..b82e61a692b8cdd0917b9cabca0c90d5c58343c4 100644
(file)
--- a/
board/nvidia/common/board.c
+++ b/
board/nvidia/common/board.c
@@
-34,6
+34,7
@@
#include <asm/arch/pmc.h>
#include <asm/arch/pmu.h>
#include <asm/arch/uart.h>
+#include <asm/arch/warmboot.h>
#include <spi.h>
#include <asm/arch/usb.h>
#include <i2c.h>
@@
-94,6
+95,11
@@
int board_init(void)
board_usb_init(gd->fdt_blob);
#endif
+#ifdef CONFIG_TEGRA2_LP0
+ /* prepare the WB code to LP0 location */
+ warmboot_prepare_code(TEGRA_LP0_ADDR, TEGRA_LP0_SIZE);
+#endif
+
return 0;
}